import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/hazard_assessment_entity.g.dart';

export 'package:enterprise_v6_app/generated/json/hazard_assessment_entity.g.dart';

@JsonSerializable()
class HazardAssessmentEntity {

	HazardAssessmentEntity();

	factory HazardAssessmentEntity.fromJson(Map<String, dynamic> json) => $HazardAssessmentEntityFromJson(json);
	String? agencyName = '';
	String? anencyDate = '';
	String? companyCode = '';
	String? createBy = '';
	String? createById = '';
	String? createDate = '';
	String? deleted = '';
	int? fileType = 0;
	String? handledBy = '';
	String? id = '';
	String? mobile = '';
	String? riskObjectId = '';
	String? updateBy = '';
	String? updateById = '';
	String? updateDate = '';
	String? url = '';

	Map<String, dynamic> toJson() => $HazardAssessmentEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
